package com.hr.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hr.entity.AoaAttachmentList;

import java.util.List;

/**
 * (AoaAttachmentList)表数据库访问层
 *
 * @author makejava
 * @since 2022-06-16 09:58:54
 */
public interface AoaAttachmentListMapper extends BaseMapper<AoaAttachmentList> {
    /**
     * 查所有考勤数据
     * @return
//     */
    Page<AoaAttachmentList> queryList(Page<AoaAttachmentList> page,String userName);



    /**
     * 查询一周考勤报表
     * @return
     */
    List<AoaAttachmentList> queryYiZhou(String startSJ,String endSJ);

    /**
     * 查询一月考勤报表
     * @return
     */
    List<AoaAttachmentList> queryMonth(String startSJ);
    List<AoaAttachmentList> queryMonth(String startSJ,String deptS);

    /**
     * 部门模糊查询
     */
    List<AoaAttachmentList> selectDept(String startSJ,String endSJ,String deptS);
}

